<?php /* Smarty version 2.6.25, created on 2013-09-30 00:18:58
         compiled from stickers/front_home_header/front_home_header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'count', 'stickers/front_home_header/front_home_header.tpl', 19, false),)), $this); ?>
<script>
jQuery(document).ready(function(){ 
	jQuery(".submenu li").hover(function () {
		jQuery(this).parent().find('li.active').addClass("current");
		jQuery(this).parent().find('li').removeClass("active");
	});
	jQuery('.submenu').mouseout(function(){
		jQuery(".submenu li.current").addClass('active').removeClass('current');
	});
});
</script>
<div id="header">
			<p class="logo"><a href="<?php echo $this->_tpl_vars['BASE_URL']; ?>
" title="VNG"><img src="<?php echo $this->_tpl_vars['LAYOUT_HELPER_URL']; ?>
front/images/upload/logo-home.png" width="428" height="155" alt="VNG" /></a></p>
			<div id="nav">
            	<ul>      
            		<?php $_from = $this->_tpl_vars['menus']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
            		<li <?php if ($this->_tpl_vars['menuId'][0] == $this->_tpl_vars['item']['id']): ?>class="active"<?php endif; ?>>
            			<a href="<?php echo $this->_tpl_vars['item']['url']; ?>
" title="<?php echo $this->_tpl_vars['item']['name']; ?>
" style="text-transform: uppercase;"><?php echo $this->_tpl_vars['item']['name']; ?>
</a>
            			<?php if (count($this->_tpl_vars['item']['childs']) > 0): ?>
            				<div class="submenu">
	                            <ul>
	                            	<?php $_from = $this->_tpl_vars['item']['childs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item2']):
?>
	                                <li <?php if ($this->_tpl_vars['menuId'][1] == $this->_tpl_vars['item2']['id']): ?>class="active"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['item2']['url']; ?>
" title="<?php echo $this->_tpl_vars['item2']['name']; ?>
" style="text-transform: uppercase;"><?php echo $this->_tpl_vars['item2']['name']; ?>
</a></li>
	                                <?php endforeach; endif; unset($_from); ?>
	                            </ul>
	                        </div>
            			<?php endif; ?>
            		</li>
            		<?php endforeach; endif; unset($_from); ?>
                </ul>
            </div>
            <div class="social-nw">
<!--                <a class="" name="zm_share" type="button" title="Chia sẻ lên Zing Me"></a> -->
<!-- 				<script src="http://stc.ugc.zdn.vn/link/js/lwb.0.7.js" type="text/javascript"></script> -->
            	
            	<a href="http://link.apps.zing.vn/share?u=<?php echo $this->_tpl_vars['currentLink']; ?>
&t=<?php echo $this->_tpl_vars['currentTitle']; ?>
&desc=" title="Chia sẻ lên Zing Me" target="_blank">
                	<img src="<?php echo $this->_tpl_vars['LAYOUT_HELPER_URL']; ?>
front/images/zingme.png" alt="Zing Me" />
                </a>
            	
                <a href="http://www.facebook.com/sharer/sharer.php?u=<?php echo $this->_tpl_vars['currentLink']; ?>
" title="Chia sẻ lên Facebook" target="_blank" style="margin-top: 1px;">
                	<img src="<?php echo $this->_tpl_vars['LAYOUT_HELPER_URL']; ?>
front/images/facebook.png" alt="Facebook" />
                </a>
            </div>
		</div>